package com.csea.app.model.vo.idiom;

import com.csea.common.domain.dos.ConfusingWordAnalysis;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 添加用户成语请求对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "添加用户成语请求对象")
public class AddUserIdiomReqVO {

    private Integer publicIdiomId;
    @NotNull(message = "词库ID不能为空")
    private Integer repositoryId;
    @NotNull(message = "成语不能为空")
    private String word;
    @NotNull(message = "释义不能为空")
    private String meaning;
    @NotNull(message = "感情色彩不能为空")
    private String emotionalColor;
    private List<String> examples;
    private List<String> synonyms;
    private List<String> antonyms;
    private List<ConfusingWordAnalysis> confusingWordAnalysis;

}
